package com.jpxx.netty.marshalling;

import java.io.Serializable;
import java.util.Arrays;

public class Req implements Serializable{  
	  
    /** 
     * serialVersionUID:TODO（用一句话描述这个变量表示什么） 
     * @since 1.0.0 
     */  
      
    private static final long serialVersionUID = 1L;  
    private Integer id;  
    private String name;  
    private String requestMessage;  
    private byte[] attachment;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getRequestMessage() {
		return requestMessage;
	}
	public void setRequestMessage(String requestMessage) {
		this.requestMessage = requestMessage;
	}
	public byte[] getAttachment() {
		return attachment;
	}
	public void setAttachment(byte[] attachment) {
		this.attachment = attachment;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	@Override
	public String toString() {
		return "Req [id=" + id + ", name=" + name + ", requestMessage="
				+ requestMessage + ", attachment="
				+ Arrays.toString(attachment) + "]";
	}  
      
      
}  